package com.bupt.fmmall.dao;

import com.bupt.fmmall.entity.Complaint;

import java.util.List;

public interface ComplaintDao {
    List<Complaint> selectAllComplaint();//查询所有投诉
    List<Complaint> selectComplaintByName(String customerUserName);//查询一名顾客的所有投诉
    int insertComplaint(Complaint complaint);//增加一条投诉
    int deleteComplaint(int complaintId);//删除一条投诉
}

